import countReducer from "./reducers/countReducer"
import movieReducer from "./reducers/movieReducer"
import {createStore,applyMiddleware,combineReducers} from 'redux';
import thunk from "redux-thunk"

const merge = combineReducers({
    count : countReducer,
    movie: movieReducer
})

const store = createStore(merge,applyMiddleware(thunk))

export default store